package com.aqiang.user_content.api;

import com.aqiang.net.entity.BaseEntity;
import com.aqiang.user_content.entity.User2Entity;
import com.aqiang.user_content.entity.UserEntity;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface Api {
    @POST("videouser/register")
    Observable<UserEntity> register(@Body UserEntity userEntity);

    @POST("api/User/register")
    Observable<BaseEntity<User2Entity>> register2(@Body User2Entity userEntity);
}
